﻿namespace AmazonGlacierGUI.UI.Infrastructure.MVVMFramework
{
    public class ValidationResultData
    {
        public static readonly ValidationResultData Success=new ValidationResultData();
        public string PropertyName { get; set; }
        public string ErrorMessage { get; set; }
        public string ErrorCode { get; set; }

        public  ValidationResultData()
        {
            
        }
        public ValidationResultData(string errorMessage)
        {
            ErrorMessage = errorMessage;
        }
        public ValidationResultData(string errorCode,string errorMessage)
        {
            ErrorCode = errorCode;
            ErrorMessage = errorMessage;
        }
    }
}
